
module Documentation
  include DrunkenMaster
  include Wiki

  class Application < View

    def build
      context.page.link_css file_url("style.css")

      self.children = []
      e :h3 do
        link 'DrunkenMaster documentation', "/", :class => 'app_name'
      end

      add Menu.new

      add Content::CRUDController.new(Wiki::WikiPage)

      add Footer.new
    end
  end
end